package com.qumitech.visualnovel.model.dao.console;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class VoiceRoomProfitDO {
    private Integer id;
    @JSONField(name = "room_id")
    private String roomId;

    @JSONField(name = "target_date")
    private Date targetDate;

    @JSONField(name = "pound_egg_profit")
    private Long poundEggProfit;

    @JSONField(name = "gift_profit")
    private Long giftProfit;

    @JSONField(name = "magic_box_profit")
    private Long magicBoxProfit;

    @JSONField(name = "create_time")
    private Date createTime;

    @JSONField(name = "update_time")
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId == null ? null : roomId.trim();
    }

    public Date getTargetDate() {
        return targetDate;
    }

    public void setTargetDate(Date targetDate) {
        this.targetDate = targetDate;
    }

    public Long getPoundEggProfit() {
        return poundEggProfit;
    }

    public void setPoundEggProfit(Long poundEggProfit) {
        this.poundEggProfit = poundEggProfit;
    }

    public Long getGiftProfit() {
        return giftProfit;
    }

    public void setGiftProfit(Long giftProfit) {
        this.giftProfit = giftProfit;
    }

    public Long getMagicBoxProfit() {
        return magicBoxProfit;
    }

    public void setMagicBoxProfit(Long magicBoxProfit) {
        this.magicBoxProfit = magicBoxProfit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", roomId=").append(roomId);
        sb.append(", targetDate=").append(targetDate);
        sb.append(", poundEggProfit=").append(poundEggProfit);
        sb.append(", giftProfit=").append(giftProfit);
        sb.append(", magicBoxProfit=").append(magicBoxProfit);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}